package com.hjd.shop.dto.user;

import com.baomidou.mybatisplus.annotation.TableName;
import com.hjd.shop.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * <p>
 * 用户余额日志表
 * </p>
 *
 * @author 我玩亚索我会C
 * @since 2020-12-13
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("s_user_money")
public class UserMoney extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 用户ID
     */
    private String userId;

    /**
     * 订单ID
     */
    private String orderId;

    /**
     * 日志类型;1订单付款;2订单退款
     */
    private Boolean moneyLogType;

    /**
     * 操作金额
     */
    private BigDecimal useMoney;

    /**
     * 是否删除;0未删除;1已删除
     */
    private Boolean deleteFlag;


    private String createUser;


    private String modifyUser;


}
